import { makeAutoObservable } from 'mobx'

class SelectedHotelsStore {
  selectedHotels = []
  constructor() {
    makeAutoObservable(this)
  }

  setSelectedHotels (selectedHotels) {
    this.selectedHotels = [...selectedHotels]
  }

  getSelectedHotels () {
    return this.selectedHotels
  }
}

export default SelectedHotelsStore